﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Freedom.Models.Interfaces;
using Freedom.Models.Services;

namespace Freedom.Models.ViewModels 
{
    /// <summary>
    /// 联系方式视图模型
    /// autor: Penn Yao
    /// </summary>
    public class ContactViewModel : BaseViewModel
    {
        public ContactViewModel()
        {
            if (messageInfo == null)
            {
                messageInfo = new tb_MessageInfo();
                messageInfo.Name = "姓名";
                messageInfo.Email = "邮箱";
                messageInfo.Title = "主题";
                messageInfo.Content = "内容";
            }
        }

        /// <summary>
        /// 留言信息列表
        /// </summary>
        public tb_MessageInfo messageInfo { get; set; }
    }
}